<#if qTableLayout_tablecolspan?exists >
	${stack.setValue('#qTableLayout_tablecolspan_old', qTableLayout_tablecolspan?number)}
</#if>
<#if qTableLayout_currentColumnCount?exists >
	${stack.setValue('#qTableLayout_currentColumnCount_old', qTableLayout_currentColumnCount?number)}
</#if>
<#if parameters.cols?exists>
	${stack.setValue('#qTableLayout_tablecolspan', 0)}
	${stack.setValue('#qTableLayout_currentColumnCount', 0)}
	<#assign trash = stack.setValue("#qTableLayout_tablecolspan", parameters.cols?number)/>
</#if>
<table cellspacing="0" cellpadding="0" class="${parameters.cssClass?default('wwFormTable')?html}"<#rt/>
<#if parameters.id?exists> id="${parameters.id?html}"<#rt/></#if>
<#if parameters.cssStyle?exists> style="${parameters.cssStyle?html}"<#rt/></#if>
<#if parameters.border?exists> border="${parameters.border?html}"<#rt/></#if>
<#if parameters.cellspacing?exists> cellspacing="${parameters.cellspacing?html}"<#rt/></#if>
<#if parameters.cellpadding?exists> cellpadding="${parameters.cellpadding?html}"<#rt/></#if>
>
<#assign firstTr = ""/>
<#if qTableLayout_tablecolspan?exists >
	<#assign colCssClassName = ''/>
	<#assign colSize = 1/>
	<#if parameters.colCssClassListSize?exists >
		<#assign colSize = parameters.colCssClassListSize?number/>
	</#if>
	<#assign firstTr = "<tr class='first'>"/>
 	<colgroup><#rt/>
		<#if parameters.colCssClassList?exists >
			<@s.iterator value="parameters.colCssClassList" id="colCssClass">
				<#assign colCssClassName = colCssClass/>
				<#lt/><col class="${colCssClassName}"/><#rt/>
				<#assign firstTr = firstTr + "<td></td>"/>
			</@s.iterator>
		</#if>
		<#if colSize < qTableLayout_tablecolspan>
			<#list colSize .. qTableLayout_tablecolspan?number as colCount >
				<#if colCssClassName != '' >
					<#lt/><col class="${colCssClassName}"/><#rt/>
				<#else>
					<#lt/><col/><#rt/>
				</#if>
				<#assign firstTr = firstTr + "<td></td>"/>
			</#list>
		</#if>
	</colgroup>
	<#assign firstTr = firstTr + "</tr>"/>
</#if>
